package com.ruoyi.common.enums;

/**
 *  投出片类型枚举类
 *
 * @author yinjc
 */
public enum TransTypeEnum {

    /** 选择的活跃的配置文件的名称 */
    NEWLOTSTART("NEWLOTSTART", "新的一卡投片开始")
    , SHIPLOT("SHIPLOT", "一卡投片结束")
    , UNSHIPLOT("UNSHIPLOT", "退步")
    , TRACKIN("TRACKIN", "入栈")
    , TRACKOUT("TRACKOUT", "出栈")
    , HOLDLOT("HOLDLOT", "暂停")
    , SPLITOUT("SPLITOUT", "分卡子卡")
    , SPLITLOT("SPLITLOT", "分卡")
    ;

    private final String transType;
    private final String transTypeName;

    private TransTypeEnum(String transType, String transTypeName) {
        this.transType = transType;
        this.transTypeName = transTypeName;
    }

    public String getTransType() {
        return transType;
    }

    public String getTransTypeName() {
        return transTypeName;
    }

    public static TransTypeEnum[] getTransStartEndEnum() {
        TransTypeEnum[] transTypeEnums = new TransTypeEnum[2];
        transTypeEnums[0] = TransTypeEnum.NEWLOTSTART;
        transTypeEnums[1] = TransTypeEnum.SHIPLOT;
        return transTypeEnums;
    }

}
